﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="OutStorage.aspx.cs" Inherits="Ewts.Storage.OutStorage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    
    <style type="text/css">
        .barcodevalue{}
        .hidOper{}
        .hidoutid{}
        .txtConsumMan{}
        .h_outType{}
        .csstab3_r{ margin-left:80px;}
    </style>
 
<script type="text/javascript" src="/jquery/jquery.dataTables.js"></script>
<link href="/css/Style.css" rel="stylesheet" type="text/css" />
<link href="/css/tab4.css" rel="stylesheet" type="text/css" />
<title>出库</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
    <div id="outtype_div" title="请选择出库方式">
    <button class="os_btn" id="btnX" value="4">出库销售</button>&nbsp;&nbsp;
    <button class="os_btn" id="btnC" value="3">出库生产</button>&nbsp;&nbsp;
    <button class="os_btn" id="btnF" value="2">出库分类</button>&nbsp;&nbsp;
    <button class="os_btn" id="btnJ" value="1">出库拆解</button>&nbsp;&nbsp;
    <button class="os_btn" id="btnY" value="5">移库出库</button>&nbsp;&nbsp;
    <button class="os_btn" id="btnT" value="9">退货</button>
    </div>
    <div class="tab1">
	<h2 id="h_outType" class="h_outType">退货</h2>
    <input type="hidden" runat="server" id="hidInBeglong"  />
    <input type="hidden" runat="server" id="hidInGraphic"  />
    <div>
      <input id="Beglong_old" runat="server" type="hidden" class="dropBeglong_old" value="" />
      <input id="Gropphic_old" runat="server" type="hidden" class="dropGropphic_old" value="" />
    </div>
    <div class="dropdiv" style="position:inherit;margin-left: 0;margin-top: 10px">
    归属去向：<asp:DropDownList ID="dropBelong" CssClass="dropBelong" runat="server">
            <asp:ListItem Text="请选择" Value="0"></asp:ListItem>
            <asp:ListItem Text="上海" Value="上海"></asp:ListItem>
            <asp:ListItem Text="北京" Value="北京"></asp:ListItem>
            <asp:ListItem Text="广州" Value="广州"></asp:ListItem>
            <asp:ListItem Text="苏州" Value="苏州"></asp:ListItem>
        </asp:DropDownList>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
    接收地地点：<asp:DropDownList ID="dropGraphiccity" CssClass="dropgraphic" runat="server">
            <asp:ListItem Text="请选择" Value="0"></asp:ListItem>
            <asp:ListItem Text="上海" Value="上海"></asp:ListItem>
            <asp:ListItem Text="北京" Value="北京"></asp:ListItem>
            <asp:ListItem Text="广州" Value="广州"></asp:ListItem>
            <asp:ListItem Text="苏州" Value="苏州"></asp:ListItem>
<%--            <asp:ListItem Text="香港" Value="香港"></asp:ListItem>
            <asp:ListItem Text="退运" Value="退运"></asp:ListItem>
            <asp:ListItem Text="直销" Value="直销"></asp:ListItem>
--%>        </asp:DropDownList>
    </div>
    <div class="csstab3">
        <input type="hidden" id="hidoutType" runat="server" class="hidoutType" />
        <input type="hidden" id="hidoutid" value="0" class="hidoutid" runat="server" />
        <input type="hidden" runat="server" id="hidOper" class="hidOper" />
        <input type = "hidden" runat="server" id="oldload" value='' class="oldload" />
        <input type = "hidden" runat="server" id="hidIsM" class="hidIsM" value="非原料库" />
    <!--一个表单-->
        <div class="csstab3_l" id="divSale" style="position:inherit;margin-left: 0;margin-top: 10px;display:none;">
            <input id="txtOutStorageCode" type="hidden" class="txtOutStorageCode"/>
            销售单号：<input id="txtSaleCode" type="text" runat="server"  style="width: 198px"/>
            <span style="margin-left:30px;">DO：</span>
            <span style="margin-left:14px;">
                <input id="txtDO" type="text" runat="server" style="margin-left:0px;"  class="txtDO"/>
            </span>
            
        </div>


        <div class="csstab3_l" style="position:inherit;margin-left: 0px;margin-top: 10px">
            条码号：
            <span style="margin-left: 5px;">
                <input id="txtBarcode" type="text"  style="width:198px;"/>
            </span>
            <span style="margin-left:30px;">
                领用人：
            </span>
            <span style="margin-left:0px;width:110px;" >
               <input id="txtConsumMan" type="text" runat="server"  class="txtConsumMan"/>
            </span>
        </div>
    
        <div class="csstab3_l" style="position:inherit;margin-left:0px;margin-top: 10px">
            备注：
            <span style="margin-left:15px;">
                <input id="txrRemark" type="text" runat="server" class="txrRemark"  style="width: 388px;"/>
            </span>

                <span style="margin-left:18px;">财务结算月：</span>
                <span>
                    <asp:DropDownList ID="dropYear" CssClass="dropYear" runat="server"></asp:DropDownList>
                    <asp:DropDownList ID="dropMonth" CssClass="dropMonth" runat="server">
                        <asp:ListItem>01</asp:ListItem>
                        <asp:ListItem>02</asp:ListItem>
                        <asp:ListItem>03</asp:ListItem>
                        <asp:ListItem>04</asp:ListItem>
                        <asp:ListItem>05</asp:ListItem>
                        <asp:ListItem>06</asp:ListItem>
                        <asp:ListItem>07</asp:ListItem>
                        <asp:ListItem>08</asp:ListItem>
                        <asp:ListItem>09</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                    </asp:DropDownList>
                </span>
        </div> 
    </div>
<div class="csstab1">
    <table border="0" id="tab" cellpadding="0" style="width:700px;" cellspacing="0">
      <tr>
        <th scope="col">序号</th>
        <th style="display:none;"></th>
        <th  scope="col">归属地</th>
        <th  scope="col">处理地</th>
        <th  scope="col">条码号</th>
        <th  scope="col">库位</th>
        <th  scope="col">物品编码</th>
        <th  scope="col">物品名称</th>
        <th  scope="col">LoadNum</th>
        <th  scope="col">客户编码</th>
        <th  scope="col">客户名称</th>
        <th  scope="col">净重</th>
        <th  scope="col">数量</th>
        <th  scope="col">删除</th>
      </tr> 
      <asp:Repeater ID="rept" runat="server">
        <ItemTemplate>
            <tr>
                <td><%# Container.ItemIndex + 1 %></td>
                <td style="display:none;"><%# Eval("id") %></td>
                <td><%# Eval("barbelong")%></td>
                <td><%# Eval("bargraphic")%></td>
                <td class="barcodevalue"><%# Eval("barcodevalue") %></td>
                <td><%# Eval("stroageno")%></td>
                <td class="goodsCodeList"><%# Eval("goodscode") %></td>
                <td><%# Eval("goodsname") %></td>
                <td><%# Eval("loadnumv")%></td>
                <td><%# GetCustomerCode(Eval("id").ToString(),0)%> </td>
                <td><%# GetCustomerCode(Eval("id").ToString(),1)%> </td>
                <td><%# Eval("nwt") %></td>
                <td><%# Eval("qty") %></td>
               <td><img alt="" src='/images/jian.png' onclick='javascript:delBarCodeData(this)' style="cursor:hand;" width='16' height='17' class='jian'/></td>
            </tr>
        </ItemTemplate>
      </asp:Repeater>
  </table>
  <div class="align"><input id="btnSave" type="button" value="提交" /></div>
</div>
<div class="csstab2">
  <table border="0" id="tabType" cellpadding="0" style="width:200px;" cellspacing="0">
      <tr>
        <th  scope="col">序号</th>
       <th  scope="col">物品编码</th>
        <th  scope="col">数量</th>
        <th  scope="col">净重</th>
        <th  scope="col">计数</th><!--针对物品编码统计条数汇总汇3条-->
       
      </tr>
  </table>
</div>   		
</div>

<script type="text/javascript" src="/js/outStorage.js"></script>
</asp:Content>
